<demo>Demo</demo>
<template>
  <Tabs v-model:selected="selectedTab">
    <Tab title="tab1">Tab 1 Content</Tab>
    <Tab title="tab2">Tab 2 Content</Tab>
  </Tabs>
</template>
<script lang="ts">
import Tabs from '../lib/Tabs.vue'
import Tab from '../lib/Tab.vue'
import { ref } from 'vue'

export default {
  components: {
    Tabs,
    Tab,
  },
  setup() {
    const selectedTab = ref('tab1')
    return {
      selectedTab,
    }
  }
}
</script>